<?php $this->beginContent('application.views.layouts.main'); ?>
<div class="container">
	<div class="span-8 column">
		<div id="column1">
			<?php echo $this->col1; ?>
		</div><!-- content -->
	</div>
	<div class="span-8 column">
		<div id="column2">
			<?php echo $this->col2; ?>
		</div><!-- content -->
	</div>
	<div class="span-5 last printhide">
		<div id="sidebar">
		<?php
			$this->beginWidget('zii.widgets.CPortlet', array(
				'title'=>'Related operation',
				'id'=>'ajaxPortlet',
			));
			$this->widget('zii.widgets.CMenu', array(
				'items'=>$this->rmenu,
				'htmlOptions'=>array('class'=>'operations'),
			));
			$this->endWidget();
		?>
		<?php
			$this->beginWidget('zii.widgets.CPortlet', array(
				'title'=>'Operations',
			));
			$this->widget('zii.widgets.CMenu', array(
				'items'=>$this->menu,
				'htmlOptions'=>array('class'=>'operations'),
			));
			$this->endWidget();
		?>
		<?php
			$this->beginWidget('zii.widgets.CPortlet', array(
				'title'=>'Search',
			));
		?>
			
			<div class="row">
				<?php echo CHtml::label('Cargo search','searchField'); ?>
				<?php echo CHtml::textField('cargo_search'); ?>
			</div>
			<div class="row">
				<?php echo CHtml::link('Search','#',array('id'=>'cargo_search'));?>
			</div>
		<?php $this->endWidget();?>
		</div><!-- sidebar -->
	</div>
</div>
<?php $this->endContent(); ?>